package com.zhaokuner.parentstarter.enumeration;

/**
 * 类描述:是否删除
 *
 * @author 赵希坤 zhaoxikun
 * @date 2020/12/14 17:01
 */
public enum DeleteEnum implements SuperCodeMsg {
    /**
     * 正常可用
     */
    NO(0, "正常可用"),
    /**
     * 已删除
     */
    YES(1, "已删除");

    private final Integer code;
    private final String msg;

    DeleteEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }
}